<template>
  <div id="app">
    <!-- keep-alive导致第一次获取ajax后不会重新再获取,转而从缓存中获取,顺便也会给组件带来新的生命周期钩子activated -->
    <keep-alive exclude="Detail">
      <router-view/>
    </keep-alive>

  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
</style>
